package top.tangyh.lamp.qc.vo.query;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author: zqb
 * @date: 2024/10/17 14:07
 */
@Data
@Schema(description ="质控分页查询通用查询条件")
public class QcPageQuery {

    @Schema(description = "部门类型" ,requiredMode = Schema.RequiredMode.REQUIRED,example ="all、icu、otherIcu" )
    @NotBlank(message = "部门类型不能为空")
    private String  deptType;

    @Schema(description = "开始时间 (年月日时分秒时间戳)")
    @NotNull(message = "开始时间不能为空")
    private Long startTime;

    @Schema(description = "结束时间 (年月日时分秒时间戳)")
    @NotNull(message = "结束时间不能为空")
    private Long endTime;
}
